#include <stdio.h>
int main()
{
    printf("======1.注册 ======\n");
    printf("======2.登录 ======\n");
    printf("======3.退出 ======\n");

    short choice =0;
     printf("请输入您的选项：\n");
     scanf("%hd",&choice);
    printf("choice:%hd\n",choice);

    switch(choice)
    {
        case 1:
            printf("注册好了\n");
            break;

        case 2:
            printf("登录好了\n");
            break;
        case 3:
            printf("退出了\n");
                break;
        default:
            printf("输错了，请重新输入\n");
                break;

    }




 return 0;   
}